.. _`Stratified K-fold cross validation`: .. _`org.sysess.sympathy.machinelearning.crossval_stratifiedkfold`: Stratified K-fold cross validation `````````````````````````````````` .. image:: Kfold.svg :width: 48 Gives splits for stratified K-fold cross validation Definition :::::::::: Input ports ........... **X** | Type: table | Description: X **Y** | Type: table | Description: Y Output ports ............ **out** | Type: [(table, table)] | Description: out Configuration ............. **Number of splits** (n_splits) Number of folds, must be atleast 2 **Shuffle** (shuffle) Shuffle the data before splitting Implementation .............. .. automodule:: node_crossvalidation :noindex: .. class:: CrossVal_StratifiedKFold :noindex: